package com.mjh.zhujianju.model.supervise;

import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.livew.framework.base.model.BaseModel;

public class SupervisionScheduleEO extends BaseModel {
    // 汇报人
    private Long userId;

    // 部门
    private Long deptId;

    private Long supervisionId;

    // 进度%
    private Integer schedule;

    // 内容
    private String content;

    private String status;
    
    private String nickname;//汇报人
    
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    private Date time;//汇报时间

    private static final long serialVersionUID = 1L;

    /**
     * 获取汇报人
     *
     * @return user_id - 汇报人
     */
    public Long getUserId() {
        return userId;
    }

    /**
     * 设置汇报人
     *
     * @param userId 汇报人
     */
    public void setUserId(Long userId) {
        this.userId = userId;
    }

    /**
     * 获取部门
     *
     * @return dept_id - 部门
     */
    public Long getDeptId() {
        return deptId;
    }

    /**
     * 设置部门
     *
     * @param deptId 部门
     */
    public void setDeptId(Long deptId) {
        this.deptId = deptId;
    }

    /**
     * @return supervision_id
     */
    public Long getSupervisionId() {
        return supervisionId;
    }

    /**
     * @param supervisionId
     */
    public void setSupervisionId(Long supervisionId) {
        this.supervisionId = supervisionId;
    }

    /**
     * 获取进度%
     *
     * @return schedule - 进度%
     */
    public Integer getSchedule() {
        return schedule;
    }

    /**
     * 设置进度%
     *
     * @param schedule 进度%
     */
    public void setSchedule(Integer schedule) {
        this.schedule = schedule;
    }

    /**
     * 获取内容
     *
     * @return content - 内容
     */
    public String getContent() {
        return content;
    }

    /**
     * 设置内容
     *
     * @param content 内容
     */
    public void setContent(String content) {
        this.content = content == null ? null : content.trim();
    }

    /**
     * @return status
     */
    public String getStatus() {
        return status;
    }

    /**
     * @param status
     */
    public void setStatus(String status) {
        this.status = status == null ? null : status.trim();
    }

	public String getNickname() {
		return nickname;
	}

	public void setNickname(String nickname) {
		this.nickname = nickname;
	}

	public Date getTime() {
		return time;
	}

	public void setTime(Date time) {
		this.time = time;
	}
    
}